package com.atguigu.gmall.product.config.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author lfy
 * @Description
 * @create 2023-08-15 15:45
 */
@Data
@Component
@ConfigurationProperties(prefix = "app.minio") //自动绑定配置文件中 指定前缀开始的配置项
public class MinioProperties {

    private String endpoint;

    private String accessKey;

    private String accessSecret;

    private String bucketName;
}
